package top.forgirl.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.forgirl.domain.Produce;

import java.util.List;

@Repository
public interface ProduceMapper {


    List<Produce> list(@Param("cId") String cId,@Param("name") String name,@Param("comment") String comment);

    Produce selectOne(String id);

    int delete(String id);

    int insert(Produce produce);
}
